using Microsoft.AspNetCore.SignalR;
using TrackSystem.Entities.Dtos.Channel;

namespace TrackSystem.API.SignalRHub;

/// <summary>
/// 网络操作分布类
/// </summary>
public partial class TrackHub : Hub
{
    /// <summary>
    /// 打开端口
    /// </summary>
    /// <param name="channel"></param>
    public async Task OpenChannel(ChannelDto channel)
    {
        await Clients.Caller.SendAsync("RecvVarNames");
    }
    
}